package cn.ibizlab.odoo.core.odoo_lunch.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_lunch.domain.Lunch_product_category;
import cn.ibizlab.odoo.core.odoo_lunch.filter.Lunch_product_categorySearchContext;

/**
 * 实体[Lunch_product_category] 服务对象接口
 */

public interface ILunch_product_categoryService{
     Lunch_product_category get(Integer id) ;
     Lunch_product_category get(Lunch_product_category lunch_product_category) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void createBatch(List<Lunch_product_category> lunch_product_categorys, int batchSize) ;
     boolean update(Lunch_product_category lunch_product_category) ;
     boolean remove(Integer id) ;
     boolean create(Lunch_product_category lunch_product_category) ;
     void updateBatch(List<Lunch_product_category> lunch_product_categorys, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Lunch_product_category> searchDefault(Lunch_product_categorySearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Lunch_product_category> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Lunch_product_category> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Lunch_product_category convert2Domain(cn.ibizlab.odoo.core.client.model.Ilunch_product_category model ,Lunch_product_category domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Ilunch_product_category convert2Model(Lunch_product_category domain , cn.ibizlab.odoo.core.client.model.Ilunch_product_category model);

}
